package study.day5.t4;

public class QiFish extends Fish {
    public QiFish() {

    }
    public QiFish(int speed){
        this.speed=speed;
    }
    @Override
    public int calc(int hours) {
        return hours*speed;
    }
}
